//常量的定义

export const config = {
  baseurl: 'http://172.16.114.5:8088/MGT2',
  login: 'http://127.0.0.1:8000/login/',
  sina: 'https://api.weibo.com/oauth2/authorize?client_id=297351690&redirect_uri=http://127.0.0.1:8000/weibo_callback',
  register: 'http://127.0.0.1:8000/reg/',
  dingding: 'https://oapi.dingtalk.com/connect/qrconnect?appid=dingoaty1hbauyiitjsip2&response_type=code&scope=snsapi_login&state=STATE&redirect_uri=http://127.0.0.1:8000/dingding_callback',
  upd: 'http://127.0.0.1:8000/upd/',
  qiniu: 'http://q8g3tkq9d.bkt.clouddn.com/',
  qiniu_dj: 'http://127.0.0.1:8000/qiniu/',
  upload: 'http://127.0.0.1:8000/uploadfile/',
  upload_img: 'http://127.0.0.1:8000/static/upload/',
  inserpic: 'http://127.0.0.1:8000/inserpics/',
  updpic: 'http://127.0.0.1:8000/updpics/',
  inserttags: 'http://127.0.0.1:8000/inserttags/',
  gettags: 'http://127.0.0.1:8000/gettags/',
  gooditem:'http://localhost:8000/gooditem/',
  updgood: 'http://localhost:8000/updgood/',
};

//函数的定义

export function formatXml(text) {
  return text
}
